<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>注销</title>
		<link rel="stylesheet" href="css/index.css" />
		<link rel="stylesheet" href="css/newhead.css" />
		<script src="js/jquery.min.js"></script>
		<script src="js/layer.js"></script>
	</head>
	<body style="background: #fff;">
		<!--nav 可复用-->
		<div class="nav">
			<p onclick="javascript:history.back(-1);"><img src="images/箭头2.png" alt="" /></p>
			<p>跳转提示</p>
		</div>
		<script>
			layer.config({
				extend:'democlass/style.css',
				skin:'layer-ext-democlass'
			})
			window.onload=function(){
				layer.open({
					title:false
					,shade:0
					,closeBtn:0
					,content:'是否同意注销?'
					,btn:['是','否']
					,btnAlign:'c'
					,yes:function(index,layero){
						layer.open({
							title:'注销成功'
							,skin:'democlass2'
							,shade:0
							,closeBtn:0
							,content:'页面正在退出...'
							,time:2000
							,end:function(){
								window.location.href='login.html'
							}
						})
					}
					,btn2:function(index,layero){
						layer.close(index);
					}
				})
			}		
		</script>
	</body>
</html>
